from django.conf.urls import url
from .views import *
from rest_framework import routers
router=routers.SimpleRouter()
router.register("product",ProductViewSet,base_name='product')
router.register("cart",ShopCartViewSet,base_name='cart')
router.register("order",ShopOrderViewSet,base_name='order')
urlpatterns = router.urls

